<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="bo.book"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>图书信息添加成功</title>
<style>
body {
	background: #F0FFF0;
}

* {
	margin: 0px;
	padding: 0px;
}

.from {
	overflow: hidden;
	position: relative;
}

.bgc {
	width: 100%;
}

.submit {
	position: absolute;
	z-index: 9;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	margin-top: 100px;
	width: 500px;
	height: 500px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: #fff;
	display: flex;
	flex-direction: column;
}

.ff{
	position: absolute;
	left:50px;
	top:210px;
}
</style>
</head>
<body>
	<%
		book b = (book) request.getAttribute("b1");
	String print = "恭喜您，名片为" + b.getName() + "的信息添加成功！";
	%>

	<div class="from">
		<img class="bgc" src="namecard.jpg" alt="">
		<div class="submit" align="center">
			<div class="ff">
				<h2><%=print%></h2>
			</div>
		</div>
	</div>
</body>
</html>